package cn.ilovese.collect.po.report;

import cn.ilovese.collect.vo.report.HistoryReportVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import java.util.Date;

@NoArgsConstructor
public class ReportHistoryVersion {
    private Integer id;

    private Integer oldReportId;

    private Integer latestReportId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOldReportId() {
        return oldReportId;
    }

    public void setOldReportId(Integer oldReportId) {
        this.oldReportId = oldReportId;
    }

    public Integer getLatestReportId() {
        return latestReportId;
    }

    public void setLatestReportId(Integer latestReportId) {
        this.latestReportId = latestReportId;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public ReportHistoryVersion(@NonNull HistoryReportVO report){
    }
}